package com.loans.request.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 贷款申请对象 tb_loan
 * 
 * @author ruoyi
 * @date 2022-12-13
 */
public class TbLoan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 产品id */
    @Excel(name = "产品id")
    private Long loanProductId;

    /** 还款方式
 */
    @Excel(name = "还款方式 ")
    private Long loanRepaymentId;

    /** 贷款期数 */
    @Excel(name = "贷款期数")
    private Long loanPeriods;

    /** 贷款用户id */
    @Excel(name = "贷款用户id")
    private Long loanUserId;

    /** 贷款用户名称 */
    @Excel(name = "贷款用户名称")
    private String loanUserName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLoanProductId(Long loanProductId) 
    {
        this.loanProductId = loanProductId;
    }

    public Long getLoanProductId() 
    {
        return loanProductId;
    }
    public void setLoanRepaymentId(Long loanRepaymentId) 
    {
        this.loanRepaymentId = loanRepaymentId;
    }

    public Long getLoanRepaymentId() 
    {
        return loanRepaymentId;
    }
    public void setLoanPeriods(Long loanPeriods) 
    {
        this.loanPeriods = loanPeriods;
    }

    public Long getLoanPeriods() 
    {
        return loanPeriods;
    }
    public void setLoanUserId(Long loanUserId) 
    {
        this.loanUserId = loanUserId;
    }

    public Long getLoanUserId() 
    {
        return loanUserId;
    }
    public void setLoanUserName(String loanUserName) 
    {
        this.loanUserName = loanUserName;
    }

    public String getLoanUserName() 
    {
        return loanUserName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("loanProductId", getLoanProductId())
            .append("loanRepaymentId", getLoanRepaymentId())
            .append("loanPeriods", getLoanPeriods())
            .append("loanUserId", getLoanUserId())
            .append("loanUserName", getLoanUserName())
            .toString();
    }
}
